package com.espirit.eap.sa;

public class Screen {

	private Integer width;
	
	private Integer height;
	
	private Float scale;

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
		this.scale = null;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Float getScale() {
		if (scale == null) {
			scale = ((float)width) / 1280;
		}
		return scale;
	}
}
